My recommendation is using NodeJS. I use NodeJS with Azure IoT Device and I dont run into any storage size issues. One little trick I found, install all your modules in /tmp, then move the node_modules folder to / . The folder will be highly compressed once its in flash memory.